/* creates all tables in
Luis Garicano and Claudia Steinwender, 
�Survive Another Day: 
Using Changes in the Composition of Investments 
to Measure the Cost of Credit Constraints�
September 2015.
*/

cd "C:\Users\csteinwender\Dropbox\Data\Spain Data\restat"

do createspaintrade.do
do createstanspain.do
do cleanrawfiles.do
do ipw.do
do createfirmleveldata.do
do createwithinfirmdata.do

//for results in paper
do figure1.do
do table1.do
do table2.do
do table3.do
do table4.do
do table5.do
do table6.do
do table7.do
do table8.do
do table9.do

// for results in online appendix
do figureA1.do
do tableA2.do
do tableA3.do
do tableA4.do
do tableA5.do

